<!doctype html>
<html class="no-js fixed-layout">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>微讲堂管理后台</title>
  <meta name="description" content="">
  <meta name="keywords" content="index">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <link rel="icon" type="image/png" href="assets/i/favicon.png">
  <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
  <meta name="apple-mobile-web-app-title" content="" />
  <link rel="stylesheet" href="assets/css/amazeui.min.css"/>
  <link rel="stylesheet" href="assets/css/admin.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，请使用Chrome、Firefox或者IE10以上版本浏览器。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
  以获得更好的体验！</p>
<![endif]-->

<header class="am-topbar am-topbar-inverse admin-header">
  <div class="am-topbar-brand">
    <strong>微讲堂</strong> <small>让知识分享更生动</small>
  </div>

  <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>

  <div class="am-collapse am-topbar-collapse" id="topbar-collapse">

    <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
      <!-- <li><a href="javascript:;"><span class="am-icon-envelope-o"></span> 收件箱 <span class="am-badge am-badge-warning">5</span></a></li> -->
      <li class="am-dropdown" data-am-dropdown>
        <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
          <span class="am-icon-user"></span> <span class="wjt-username"><!-- 默认用户名称 --></span> <span class="am-icon-caret-down"></span>
        </a>
        <ul class="am-dropdown-content">
          <li><a href="admin-user.html"><span class="am-icon-user"></span> 个人资料</a></li>
          <!-- <li><a href="#"><span class="am-icon-cog"></span> 设置</a></li> -->
          <li><a href="admin-login.html"><span class="am-icon-power-off"></span> 退出</a></li>
        </ul>
      </li>
      <li class="am-hide-sm-only"><a href="javascript:;" id="admin-fullscreen"><span class="am-icon-arrows-alt"></span> <span class="admin-fullText">开启全屏</span></a></li>
    </ul>
  </div>
</header>

<div class="am-cf admin-main">
  <!-- sidebar start -->
  <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar">
      <ul class="am-list admin-sidebar-list">
      
        <li><a href="admin-login.html"><span class="am-icon-sign-out"></span> 注销</a></li>
      </ul>

	<!-- sidebarpanel content-->

    </div>
  </div>
  <!-- sidebar end -->

  <!-- content start -->
  <div class="admin-content">
    <div class="admin-content-body">
      <div class="am-cf am-padding am-padding-bottom-0">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg wjt-admin-name"><!-- 标题 --></strong> / <small class="wjt-admin-subname"><!-- 子标题 --></small></div>
      </div>

	  <hr>
<input type="hidden" value="admin-roomdetails" id="pageId">      
<!-- HTML Code start!! -->

      
    <div class="am-tabs am-margin" data-am-tabs>
      <ul class="am-tabs-nav am-nav am-nav-tabs">
        <li class="am-active"><a href="#tab1">完善基本信息</a></li>
        <li><a href="#tab2">设置Logo与封面</a></li>
        <li><a href="#tab3">添加幻灯片或视频</a></li>
        <li><a href="#tab4">微信过渡页面</a></li>
        <li><a href="#tab5">设置访问密码</a></li>
      </ul>

      <div class="am-tabs-bd">
      	<div class="am-tab-panel am-fade am-in am-active" id="tab1">
          <form class="am-form">
            <div class="am-g am-margin-top">
              <div class="am-u-sm-4 am-u-md-2 am-text-right">
                微讲堂名称
              </div>
              <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
              	<input type="text" placeholder="给微讲堂起个名字吧，50个字符以内" id="wjt_room_name">
              </div>
            </div>

			<div class="am-g am-margin-top">
              <div class="am-u-sm-4 am-u-md-2 am-text-right">
                微讲堂内容描述
              </div>
              <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                <textarea rows="3" id="wjt_room_des" placeholder="用于微信分享时的内容介绍"></textarea>
                <small>举例：主讲嘉宾李某某教授，某某研究所研究员，某某公司副总经理</small>
              </div>
            </div>
            
            
            <div class="am-g am-margin-top">
              <div class="am-u-sm-4 am-u-md-2 am-text-right">
                主讲嘉宾名称
              </div>
              <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
              	<input type="text" maxlength="10" placeholder="" id="wjt_room_chair">
              </div>
            </div>
            
            <div class="am-g am-margin-top">
              <div class="am-u-sm-4 am-u-md-2 am-text-right">
                微讲堂开始时间
              </div>
              <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                <div class="am-form-group am-form-icon">
                  <i class="am-icon-calendar"></i>
                  <input type="datetime-local" class="am-form-field am-input-sm" placeholder="时间" id="wjt_room_starttime">
                </div>
              </div>
            </div>
            
            <div class="am-g am-margin-top">
              <div class="am-u-sm-4 am-u-md-2 am-text-right">
                微讲堂结束时间
              </div>
              <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                <div class="am-form-group am-form-icon">
                  <i class="am-icon-calendar"></i>
                  <input type="datetime-local" class="am-form-field am-input-sm" placeholder="时间" id="wjt_room_endtime">
                </div>
              </div>
            </div>

			<div class="am-g am-margin-top wjt_room_catalog_container">
              <div class="am-u-sm-4 am-u-md-2 am-text-right">
              	选择一个分类
              </div>
              <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                <div class="am-form-group am-form-select">
                  <select id="wjt_room_catalog">
                  	<!-- <option value="option1">选项一...</option>
                  	<option value="option3">选项三........</option> -->
                  </select>
                </div>
              </div>
            </div>


		    <div class="am-margin admin-edit">
		      <button type="button"
		       data-am-loading="{spinner: 'circle-o-notch', loadingText: '保存中...', resetText: '保存修改'}"
		       class="am-btn am-btn-success am-btn-xs wjt-room-basic-save">保存修改</button>
		      <button type="button" class="am-btn am-btn-danger am-btn-xs wjt-room-basic-cancel">取消修改</button>
		    </div>
          </form>
        </div>
        
        
        <div class="am-tab-panel am-fade" id="tab2">
        
       
			<div class="am-g am-margin-top">
			  <div class="am-u-sm-2">
			  	<img id="wjt_logo_upload_preview" style="height:140px;width:140px;" class="am-radius" alt="140*140" src="" width="140" height="140" />
			  </div>
			  <div class="am-u-sm-10">
			  	<p>温馨提示：</p>
			  	<p>请为微讲堂上传Logo，微讲堂Logo将会在微信分享时被用户所见</p>
	            <p>为保证微讲堂页面显示效果，请将Logo控制在500KB以内</p>
	            <p>图片比例为 1:1</p>
	            <div class="am-padding" style="padding-left:0" id="wjt_logo_upload_container">
	            	<button class="am-btn am-btn-primary" id="wjt_logo_upload_btn"><span class="am-icon-photo"></span> 选择并上传Logo</button>
	            </div>
	          </div>
			</div>
			<hr>
			<div class="am-g am-margin-top">
			  <div class="am-u-sm-4">
			  	<img id="wjt_cover_upload_preview" style="height:160px;width:280px;" class="am-radius" alt="16:9" src="" />
			  </div>
			  <div class="am-u-sm-8">
			  	<p>温馨提示：</p>
			  	<p>请为微讲堂上传封面，微讲堂封面将会在App中被用户所见</p>
	            <p>为保证微讲堂页面显示效果，请将封面控制在500KB以内</p>
	            <p>图片比例为 16:9</p>
	            <div class="am-padding" style="padding-left:0" id="wjt_cover_upload_container">
	            	<button class="am-btn am-btn-primary" id="wjt_cover_upload_btn"><span class="am-icon-photo"></span> 选择并上传封面</button>
	            </div>
	          </div>
			</div>
	    

        </div>

        

        <div class="am-tab-panel am-fade" id="tab3">
			<div class="am-g am-margin-top">
				<div class="am-u-sm-12">
					<div id="wjt_add_pic_container" style="display: inline;">
		            	<button class="am-btn am-btn-primary am-btn-sm " id="wjt_add_pic_btn"><span class="am-icon-photo"></span> 选择并上传图片</button>
		            </div>
            		
            		<div id="wjt_add_loc_vid_container" style="display: inline;">
		            	<button class="am-btn am-btn-primary am-btn-sm " id="wjt_add_loc_vid_btn" ><span class="am-icon-video-camera"></span> 选择并上传本地视频</button>
		            </div>
     
            		<button style="display:none;" class="am-btn am-btn-primary am-btn-sm " id=""><span class="am-icon-file-powerpoint-o"></span> 选择并上传PPT或PPTX</button>
            		<button class="am-btn am-btn-primary am-btn-sm " id="wjt_add_video_btn"><span class="am-icon-video-camera"></span> 添加直播源或视频源</button>
            		<button style="display:none;" class="am-btn am-btn-primary am-btn-sm " id=""><span class="am-icon-youtube-play"></span> 添加第三方视频源</button>
            	</div>
			</div>
			<div class="am-g am-margin-top">
				<div class="am-u-sm-4 am-u-md-2 am-text-right">
                设置显示比例
              </div>
              <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                <div class="am-btn-group room-lecture-ratio-group doc-js-btn-1" data-am-button>
				  <label class="am-btn am-btn-warning  am-btn-sm am-active">
				    <input type="radio" name="room-lecture-ratio-options" value="0.5625" id="" checked> 16:9
				  </label>
				  <label class="am-btn am-btn-warning  am-btn-sm">
				    <input type="radio" name="room-lecture-ratio-options" value="0.75" id=""> 4:3
				  </label>
				</div>
              </div>
			</div>
			
			<hr>
			
		    <ul data-am-widget="gallery" class="wjt-lecture-gallery am-gallery am-avg-sm-2
			  am-avg-md-3 am-avg-lg-4 am-gallery-bordered" data-am-gallery="{  }" >
			     
		    </ul>

        </div>


        <div class="am-tab-panel am-fade" id="tab4">
        	<div class="am-g am-margin-top am-margin-bottom">
				<div class="am-u-sm-4 am-u-md-2 am-text-right">
                过渡页面
              </div>
              <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                <div class="am-btn-group doc-js-btn-1 room-staging-ratio-options-group" data-am-button>
				  <label class="am-btn am-btn-warning  am-btn-sm am-active">
				    <input type="radio" name="room-staging-ratio-options" value="0" id="" checked> 关闭 
				  </label>
				  <label class="am-btn am-btn-warning  am-btn-sm">
				    <input type="radio" name="room-staging-ratio-options" value="1" id=""> 开启
				  </label>
				</div>
              </div>
			</div>
			<div class="wjt_staging_upload_operation" style="display:none;">
				<hr>
				
				<div class="am-g">
				  <div class="am-u-sm-2">
				  	<img id="wjt_staging_upload_preview" style="height:187px;width:140px;" class="am-radius" alt="140*187" src="" width="140" height="187" />
				  </div>
				  <div class="am-u-sm-10">
				  	<p>温馨提示：</p>
				  	<p>请为微讲堂上传过渡页面，过渡页面将会在进入微讲堂时被用户所见</p>
		            <p>为保证微讲堂页面显示效果，请将过渡页面控制在1MB以内</p>
		            <div class="am-padding" style="padding-left:0" id="wjt_staging_upload_container">
		            	<button class="am-btn am-btn-primary" id="wjt_staging_upload_btn"><span class="am-icon-photo"></span> 选择并上传图片</button>
		            </div>
		          </div>
				</div>
			</div>
        </div>


        <div class="am-tab-panel am-fade" id="tab5">
        	<div class="am-g am-margin-top am-margin-bottom">
				<div class="am-u-sm-4 am-u-md-2 am-text-right">
                访问密码
              </div>
              <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
                <div class="am-btn-group doc-js-btn-1 room-pwd-ratio-options-group" data-am-button>
				  <label class="am-btn am-btn-warning  am-btn-sm">
				    <input type="radio" name="room-pwd-ratio-options" value="0" id=""> 关闭 
				  </label>
				  <label class="am-btn am-btn-warning  am-btn-sm">
				    <input type="radio" name="room-pwd-ratio-options" value="1" id=""> 开启
				  </label>
				</div>
              </div>
			</div>
			<div class="wjt_room_pwd_operation" style="display:none;">
				<hr>
				<div class="am-g">
	              <div class="am-u-sm-4 am-u-md-2 am-text-right">
	                4位随机密码
	              </div>
	              <div class="am-u-sm-8 am-u-md-4 am-u-end col-end">
	              	<input type="text" placeholder="" id="wjt_room_pwd" disabled>
	              	
	              	<button class="am-btn am-btn-primary am-margin-top" id="wjt_room_pwd_gen_btn"><span class="am-icon-pencil-square-o"></span> 重新生成随机密码</button>
	              </div>
	            </div>
			</div>
        </div>









      </div>
    </div>



<!-- modal -->
<div class="am-modal am-modal-no-btn" tabindex="-1" id="wjt_room_lecturepage_video_dialog">
  <div class="am-modal-dialog">
    <div class="am-modal-hd">编辑直播源或视频源
      <a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>&times;</a>
    </div>
    <div class="am-modal-bd">

		<div class="am-g am-margin-top am-margin-bottom">
	      <div class="am-u-sm-4 am-text-right">
            直播播流地址或视频地址
          </div>
          <div class="am-u-sm-8 am-text-left">
            <textarea rows="3" style="width: 100%;font-size: 1.2rem;" id="wjt_room_lecturepage_video_input" placeholder="由于H5的限时，请输入.m3u8、.mp4格式的播流地址或回放地址"></textarea>
            <div class="am-padding" style="padding-left:0" id="">
            	<button class="am-btn am-btn-primary" id="wjt_room_lecturepage_video_save"><span class="am-icon-file"></span> 保存新视频连接</button>
            </div>
            
            <div class="am-padding" style="padding-left:0" id="">
            	<button class="am-btn am-btn-primary" id="wjt_room_video_transcoding"><span class="am-icon-file"></span> m3u8视频转码</button>
            </div>
            
            <div class="am-padding" style="padding-left:0" id="">
            	<button class="am-btn am-btn-primary" id="wjt_room_video_download"><span class="am-icon-file"></span> .mp4视频下载</button>
            </div>
            
           
            
          </div>
		</div>      
		<div class="am-g wjt-room-lecturepage-video-thumb-area">
		  <div class="am-u-sm-4">
		  	<img id="wjt_room_lecturepage_video_preview" style="width:140px" class="am-radius am-modal-item-pic" alt="" src="" width="140"  />
		  </div>
		  <div class="am-u-sm-8 am-text-left" style="font-size: 1.4rem;">
		  	<p>温馨提示：</p>
		  	<p>请为视频上传页面封面，将在视频未开始时显示；</p>
            <p>为保证微讲堂页面显示效果，请将封面图片控制在1MB以内。</p>
            <div class="am-padding" style="padding-left:0" id="wjt_room_lecturepage_video_container">
            	<button class="am-btn am-btn-primary" id="wjt_room_lecturepage_video_btn"><span class="am-icon-photo"></span> 选择并上传封面</button>
            </div>
          </div>
		</div>
		<input type ="hidden" value="" id="wjt_room_lecturepage_id_input">
		
    </div>
  </div>
</div>


<!-- HTML Code end!! -->
      
    </div>

    <footer class="admin-content-footer">
      <hr>
      <p class="am-padding-left"><span class="wjt-admin-copyright"><!-- © 2016 版权所有 中研沃兮网络科技（上海）有限公司 --></span></p>
    </footer>
  </div>
  <!-- content end -->

</div>

<a href="#" class="am-icon-btn am-icon-th-list am-show-sm-only admin-menu" data-am-offcanvas="{target: '#admin-offcanvas'}"></a>

<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="assets/js/jquery.min.js"></script>
<!--<![endif]-->


<script src="assets/js/amazeui.min.js"></script>
<script src="assets/js/handlebars.min.js"></script>
<script src="assets/js/amazeui.widgets.helper.min.js"></script>
<script src="assets/js/app.js"></script>

<script  type="text/javascript" id="appinit" data-baseurl="assets/js/" src="assets/js/require.js"></script>
<script type="text/javascript">
	appinit($("#pageId").val());
</script>

<!--这里是测试
<script src="assets/js/plupload/plupload.full.min.js"></script>
<script type="text/javascript">
    //alert('script begin')
	var uploader = new plupload.Uploader({ //实例化一个plupload上传对象
		browse_button : 'wjt_add_local_video_btn',
		//alert('clicked')
		url : 'C:\Users\User1\Documents\eclipse\WorkSpace\UploadDemo2',//暂时不设置，在admin-roomdetails.js里设置保存的url
		flash_swf_url : 'assets/js/plupload/Moxie.swf',
		silverlight_xap_url : 'assets/js/plupload/Moxie.xap',
	});
	uploader.init(); //初始化
    //alert('what');
	//上传按钮
	//uploader.start(); //开始上传
	

</script>
//-->


</body>
</html>
